package com.boot;

import com.boot.config.UpConfig;
import org.springframework.boot.SpringApplication;
import org.springframework.context.ApplicationContext;

/**
 * @author
 * @date 2025-07-28
 * @Description
 */
public class MainApplication {
    public static void main(String[] args) {
        //启动spring框架，必须指定一个配置 （配置类）
        ApplicationContext run = SpringApplication.run(UpConfig.class);
        UpConfig uc = run.getBean(UpConfig.class);
        uc.printInfo();

    }
}
